package com.fortune.vo.clientOrder;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;

public class OrderDetail {
	@ApiModelProperty(example="客户id")
	private String cid;
	@ApiModelProperty(example="订单id")
	private String id;
	@ApiModelProperty(example="订单编号")
	private String no;
	@ApiModelProperty(example="客户名称")
	private String name;
	@ApiModelProperty(example="商品总数")
	private int count;
	@ApiModelProperty(example="商品总金额")
	private BigDecimal pTotalPrice;
	@ApiModelProperty(example="押金总金额")
	private BigDecimal dTotalPrice;
	@ApiModelProperty(example="回空箱总数量")
	private int totalBackBoxNum;
	@ApiModelProperty(example="回空箱减免押金总金额")
	private BigDecimal dTotalPriceReduce;
	@ApiModelProperty(example="合计总金额")
	private BigDecimal totalPrice;
	@ApiModelProperty(example="开单时间")
	private Date createTime;
	@ApiModelProperty(example="付款时间")
	private Date payTime;
	@ApiModelProperty(example="付款方式")
	private String payType;
	private DriverInfo driver;
	private List<Product> products;
	public String getCid() {
		return cid;
	}
	public void setCid(String cid) {
		this.cid = cid;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getNo() {
		return no;
	}
	public void setNo(String no) {
		this.no = no;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public BigDecimal getpTotalPrice() {
		return pTotalPrice;
	}
	public void setpTotalPrice(BigDecimal pTotalPrice) {
		this.pTotalPrice = pTotalPrice;
	}
	public BigDecimal getdTotalPrice() {
		return dTotalPrice;
	}
	public void setdTotalPrice(BigDecimal dTotalPrice) {
		this.dTotalPrice = dTotalPrice;
	}
	public int getTotalBackBoxNum() {
		return totalBackBoxNum;
	}
	public void setTotalBackBoxNum(int totalBackBoxNum) {
		this.totalBackBoxNum = totalBackBoxNum;
	}
	public BigDecimal getdTotalPriceReduce() {
		return dTotalPriceReduce;
	}
	public void setdTotalPriceReduce(BigDecimal dTotalPriceReduce) {
		this.dTotalPriceReduce = dTotalPriceReduce;
	}
	public BigDecimal getTotalPrice() {
		return totalPrice;
	}
	public void setTotalPrice(BigDecimal totalPrice) {
		this.totalPrice = totalPrice;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getPayTime() {
		return payTime;
	}
	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}
	public String getPayType() {
		return payType;
	}
	public void setPayType(String payType) {
		this.payType = payType;
	}
	public DriverInfo getDriver() {
		return driver;
	}
	public void setDriver(DriverInfo driver) {
		this.driver = driver;
	}
	public List<Product> getProducts() {
		return products;
	}
	public void setProducts(List<Product> products) {
		this.products = products;
	}
	@Override
	public String toString() {
		return "OrderDetail [cid=" + cid + ", id=" + id + ", no=" + no + ", name=" + name + ", count=" + count
				+ ", pTotalPrice=" + pTotalPrice + ", dTotalPrice=" + dTotalPrice + ", totalBackBoxNum="
				+ totalBackBoxNum + ", dTotalPriceReduce=" + dTotalPriceReduce + ", totalPrice=" + totalPrice
				+ ", createTime=" + createTime + ", payTime=" + payTime + ", payType=" + payType + ", driver=" + driver
				+ ", products=" + products + "]";
	}
}
